package com.liudw.eureka.feign.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class UserFallBack implements UserService {

	@Value("${server.port}")
	private String port;
	
	@Override
	public String hi(String message) {
		return String.format("%s, 执行回退, 端口号:%s", message, port);
	}

}
